﻿using System;

namespace XC.DataAccess.EncoderDecoder.Services
{
    /// <summary>
    /// 编码错误
    /// </summary>
    public class EncodeException : Exception
    {
        public EncodeException(string propertyName, object propertyValue,string message):base(message)
        {
            PropertyName = propertyName;
            PropertyValue = propertyValue;
        }
        /// <summary>
        /// 属性名称
        /// </summary>
        public string PropertyName { get; set; }
        /// <summary>
        /// 属性值
        /// </summary>
        public object PropertyValue { get; set; }
    }
}
